package com.sxhalo.fsms.mapper;

import com.sxhalo.fsms.domain.SysDicType;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysDicTypeMapper {
    int deleteByPrimaryKey(Integer typeId);

    int insert(SysDicType record);

    int insertSelective(SysDicType record);

    SysDicType selectByPrimaryKey(Integer typeId);

    int updateByPrimaryKeySelective(SysDicType record);

    int updateByPrimaryKey(SysDicType record);
    
    int getMaxId();
    
    int getCount(@Param("where")String where);

    List<SysDicType> findWhereList(@Param("where")String where, @Param("order")String order);

    List<SysDicType> findPagerList(@Param("start")Integer start, @Param("length")Integer length, @Param("where")String where, @Param("order")String order);

}